package com.seanLab.domain;

import org.springframework.data.annotation.Id;

import java.io.Serializable;

/**
 * Created by ailly on 17-9-18.
 */
public class Category implements Serializable {
    private String name;
    private int cat_id;
    private int parent_id;

    public Category() {
    }

    public Category(String name, int cat_id, int parent_id) {
        this.name = name;
        this.cat_id = cat_id;
        this.parent_id = parent_id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getCat_id() {
        return cat_id;
    }

    public void setCat_id(int cat_id) {
        this.cat_id = cat_id;
    }

    public int getParent_id() {
        return parent_id;
    }

    public void setParent_id(int parent_id) {
        this.parent_id = parent_id;
    }
}
